<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="/WEB-INF/FCKeditor.tld" prefix="FCK"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改新闻</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
<script language="javascript" src="<%=request.getContextPath()%>/js/beforeClose.js"></script>
<script type="text/javascript">
	function check(){
		var frm = document.form1;
		if(frm.noticeInfoTitle.value == ""){
			alert("请输入标题名称！");
			frm.newsInfoTitle.focus();
			return false;
		}
		if(frm.noticeInfoSource.value == ""){
			alert("请输入来源部门！");
			frm.noticeInfoSource.focus();
			return false;
		}
		changeLoadPage();
	}
</script>
</head>

<body>
<form action="<%=request.getContextPath()%>/NoticeInfo.do?method=update&noticeInfoId=${nInfo.noticeInfoId}" name="form1" method="post" onsubmit="return check()">
<table width="90%">
  <tr>
    <td align="right" class="bg_blue"><font color="red">*</font>&nbsp;&nbsp;标题：</td>
    <td><input name="noticeInfoTitle" type="text" size="90" value="${nInfo.noticeInfoTitle}" maxlength="200"/></td>
  </tr>
  <tr>
    <td align="right" class="bg_blue">类型：</td>
    <td><input name="noticeInfoType" type="text" size="90" value="${nInfo.noticeInfoType }" maxlength="5"/></td>
  </tr>
  <tr>
    <td align="right" class="bg_blue"><font color="red">*</font>&nbsp;&nbsp;来源部门：</td>
    <td><input name="noticeInfoSource" type="text" size="90" value="${nInfo.noticeInfoSource }" maxlength="50"/></td>
  </tr>
  <tr>
    <td align="right" class="bg_blue" >内容：</td>
    <td><FCK:editor id="noticeInfoContent"  basePath="FCKeditor/">${nInfo.noticeInfoContent}</FCK:editor></td>
  </tr>
  <tr><td colspan="2" align="center" class="nohover"><input type="submit" class="buttonsubmit" value="提交"/>&nbsp;
  <input type="button" class="buttonreturn" onClick="javascript:window.location.href='<%=request.getContextPath()%>/NoticeInfo.do?method=list'" value="返回"/></td></tr>
</table>
</form>
</body>
</html>
